<?php
class UserTeam extends ProcessingDate{
	protected $idUser;
	protected $login;
	protected $password;
	protected $name;
	protected $email;
	protected $hourlyLoad;
	protected $dateCreated;
	protected $dateExit;
	protected $status;
	protected $date;
	protected $idUserGroup;
	protected $group;
	protected $idTeam;
	protected $team;
	protected $hourlyLoadTeam;
	
	//Propriedades Extras
	protected $fieldsDBObj;
	protected $fieldsDB;

	function __construct(){
		$this->fieldsDB['idUser']			= "id_usuario";
		$this->fieldsDB['login']			= "login";
		$this->fieldsDB['password']			= "senha";
		$this->fieldsDB['name']				= "nome";
		$this->fieldsDB['email']			= "email";
		$this->fieldsDB['hourlyLoad']		= "carga_horaria";
		$this->fieldsDB['dateCreation']		= "data_criacao";
		$this->fieldsDB['dateExit']			= "data_saida";
		$this->fieldsDB['status']			= "status";	
		$this->fieldsDB['date']				= "data";
		$this->fieldsDB['idUserGroup']		= "id_usuario_grupo";
		$this->fieldsDB['group']			= "grupo";
		$this->fieldsDB['idTeam']			= "id_equipe";
		$this->fieldsDB['team']				= "equipe";
		$this->fieldsDB['hourlyLoadTeam']	= "carga_horaria_equipe";
	}
	
	protected function setDefaultError(){
		trigger_error('Não é possível trocar o ID do usuário'); 
	}
}
?>